package com.concurrent.sample.business.listener.event;

import com.concurrent.sample.business.dto.report.TradeExecReportDTO;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
public class SysTradeExecReportEvent extends ApplicationEvent {

  private Long orderId;

  private String customerNo;

  private TradeExecReportDTO execReport;

  public SysTradeExecReportEvent(Object source, Long orderId, String customerNo, TradeExecReportDTO execReport) {
    super(source);
    this.orderId = orderId;
    this.customerNo = customerNo;
    this.execReport = execReport;
  }

}
